class DepartmentsController < ApplicationController

	def index 
		@departments = Department.all
		#@department = Department.get_department(params[:id])
		#MaamoonMailer.welcome_email.deliver
	end

    def get_categories_names
  		@cats = Department.model_get_categories_names(params[:id])
  		@departments = Department.all
  		@depart = Department.find(params[:id])
  		@id = params[:id]
    end 

    def about
    end

    def home
    end

    def inquiries
    end

    def contact
    end
end